//
// Created by yan on 7/7/17.
//

#ifndef UPLADSYS_BUPLOADMOD_H
#define UPLADSYS_BUPLOADMOD_H

#include <sys/bSysNode.h>
#include <iostream>
#include <sys/types.h>
class bUploadMod : public bSysNode{
public:
    bUploadMod();

    bUploadMod(std::string name);

    virtual ssize_t recvData(void* buf,size_t count) = 0;

    virtual ssize_t sendData(void* buf,size_t count) = 0;

    virtual int connect() = 0;

    virtual int setMode(void * mode);

    virtual void * getIstance(){ return this;}
};


#endif //UPLADSYS_BUPLOADMOD_H
